<?php

namespace app\admin\model\cms;

use app\common\model\Base;
use think\Model;

/**
 * @mixin \think\Model
 */
class Category extends Base
{
    protected $name = 'category';
	protected $pk = 'id';

    public function article()
    {
        return $this->hasMany(Article::class,'catid');
    }
}
